package com.isoft.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 获取自定义配置变量值 yml
 * @Author yigeyanse@hotmail.com
 * @Date 2017年9月6日 上午11:32:07
 */
@ConfigurationProperties(prefix = "girl")
@Component
@Data
public class GirlProperties {

    private String cupSize;
    private Integer age;
    private boolean openProcessor;
}
